package com.mzj.saas.mservice.house.entity;

import javax.persistence.*;
import java.util.Date;

/**
 * 同住人信息表
 */
@Entity
@Table(name = "saas_house_eligible_apply_cohabit")
public class Cohabit {
    @Id
    @Basic
    @Column(name = "id", nullable = false)
    private String id; //

    @Basic
    @Column(name = "apply_id", nullable = true)
    private Long applyId; //

    @Basic
    @Column(name = "name", nullable = true)
    private String name; //

    @Basic
    @Column(name = "ethnic", nullable = true)
    private String ethnic; //

    @Basic
    @Column(name = "birth_date", nullable = true)
    private String birthDate; //

    @Basic
    @Column(name = "card_number", nullable = true)
    private String cardNumber; //

    @Basic
    @Column(name = "card_address", nullable = true)
    private String cardAddress; //

    @Basic
    @Column(name = "domicile_province_id", nullable = true)
    private Long domicileProvinceId; //

    @Basic
    @Column(name = "domicile_city_id", nullable = true)
    private Long domicileCityId; //

    @Basic
    @Column(name = "domicile_district_id", nullable = true)
    private Long domicileDistrictId; //

    @Basic
    @Column(name = "family_ties_type", nullable = true)
    private Integer familyTiesType; //

    @Basic
    @Column(name = "culture_type", nullable = true)
    private Integer cultureType; //

    @Basic
    @Column(name = "marital_status", nullable = true)
    private Integer maritalStatus; //

    @Basic
    @Column(name = "mobile", nullable = true)
    private String mobile; //

    @Basic
    @Column(name = "health_type", nullable = true)
    private Integer healthType; //

    @Basic
    @Column(name = "labor_capacity_type", nullable = true)
    private Integer laborCapacityType; //

    @Basic
    @Column(name = "work_status", nullable = true)
    private Integer workStatus; //

    @Basic
    @Column(name = "work_unit", nullable = true)
    private String workUnit; //

    @Basic
    @Column(name = "month_income_amount", nullable = true)
    private Integer monthIncomeAmount; //

    @Basic
    @Column(name = "front_card_pic", nullable = true)
    private String frontCardPic; //

    @Basic
    @Column(name = "back_card_pic", nullable = true)
    private String backCardPic; //

    @Basic
    @Column(name = "sortby", nullable = true)
    private Integer sortby; //

    @Basic
    @Column(name = "status", nullable = true)
    private Integer status; //状态：0草稿 1正常生效 2新增待生效 4删除待执行

    @Basic
    @Column(name = "operation_id", nullable = true)
    private String operationId; //

    @Basic
    @Column(name = "apply_time", nullable = true)
    private Date applyTime; //

    @Basic
    @Column(name = "face_pic", nullable = true)
    private String facePic; //人脸照

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Long getApplyId() {
        return applyId;
    }

    public void setApplyId(Long applyId) {
        this.applyId = applyId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getEthnic() {
        return ethnic;
    }

    public void setEthnic(String ethnic) {
        this.ethnic = ethnic;
    }

    public String getBirthDate() {
        return birthDate;
    }

    public void setBirthDate(String birthDate) {
        this.birthDate = birthDate;
    }

    public String getCardNumber() {
        return cardNumber;
    }

    public void setCardNumber(String cardNumber) {
        this.cardNumber = cardNumber;
    }

    public String getCardAddress() {
        return cardAddress;
    }

    public void setCardAddress(String cardAddress) {
        this.cardAddress = cardAddress;
    }

    public Long getDomicileProvinceId() {
        return domicileProvinceId;
    }

    public void setDomicileProvinceId(Long domicileProvinceId) {
        this.domicileProvinceId = domicileProvinceId;
    }

    public Long getDomicileCityId() {
        return domicileCityId;
    }

    public void setDomicileCityId(Long domicileCityId) {
        this.domicileCityId = domicileCityId;
    }

    public Long getDomicileDistrictId() {
        return domicileDistrictId;
    }

    public void setDomicileDistrictId(Long domicileDistrictId) {
        this.domicileDistrictId = domicileDistrictId;
    }

    public Integer getFamilyTiesType() {
        return familyTiesType;
    }

    public void setFamilyTiesType(Integer familyTiesType) {
        this.familyTiesType = familyTiesType;
    }

    public Integer getCultureType() {
        return cultureType;
    }

    public void setCultureType(Integer cultureType) {
        this.cultureType = cultureType;
    }

    public Integer getMaritalStatus() {
        return maritalStatus;
    }

    public void setMaritalStatus(Integer maritalStatus) {
        this.maritalStatus = maritalStatus;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public Integer getHealthType() {
        return healthType;
    }

    public void setHealthType(Integer healthType) {
        this.healthType = healthType;
    }

    public Integer getLaborCapacityType() {
        return laborCapacityType;
    }

    public void setLaborCapacityType(Integer laborCapacityType) {
        this.laborCapacityType = laborCapacityType;
    }

    public Integer getWorkStatus() {
        return workStatus;
    }

    public void setWorkStatus(Integer workStatus) {
        this.workStatus = workStatus;
    }

    public String getWorkUnit() {
        return workUnit;
    }

    public void setWorkUnit(String workUnit) {
        this.workUnit = workUnit;
    }

    public Integer getMonthIncomeAmount() {
        return monthIncomeAmount;
    }

    public void setMonthIncomeAmount(Integer monthIncomeAmount) {
        this.monthIncomeAmount = monthIncomeAmount;
    }

    public String getFrontCardPic() {
        return frontCardPic;
    }

    public void setFrontCardPic(String frontCardPic) {
        this.frontCardPic = frontCardPic;
    }

    public String getBackCardPic() {
        return backCardPic;
    }

    public void setBackCardPic(String backCardPic) {
        this.backCardPic = backCardPic;
    }

    public Integer getSortby() {
        return sortby;
    }

    public void setSortby(Integer sortby) {
        this.sortby = sortby;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getOperationId() {
        return operationId;
    }

    public void setOperationId(String operationId) {
        this.operationId = operationId;
    }

    public Date getApplyTime() {
        return applyTime;
    }

    public void setApplyTime(Date applyTime) {
        this.applyTime = applyTime;
    }

    public String getFacePic() {
        return facePic;
    }

    public void setFacePic(String facePic) {
        this.facePic = facePic;
    }
}
